<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<c:set var="path" value="${pageContext.request.contextPath }" />
<!--头部-->
<div class="header">
	<div class="h-content">
		<div class="logo">
			<img src="${path}/resource/meidu/images/header/logo.png">
		</div>
		<div class="nav ac">
			<ul class="clearfix inline_block">
				<c:forEach items="${navList }" var="item" >
					<li ><a href="${item.url}">${item.name}</a>
					<c:if test="${(item.childNav)!= null && fn:length(item.childNav) > 0}"> 
						<ul class="navlist">
								<c:forEach items="${item.childNav }" var="childItem" >
									<li><a href="${childItem.url}" > ${childItem.name}</a><i></i></li>
								</c:forEach>
						</ul>
					</c:if>
					</li>
				</c:forEach>
			</ul>
		</div>
	</div>
</div>
